﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DBMS.Indexes
{
    public interface ComparableIndex<T>
    {
        Object GetNativeValue();
        bool lessThanOrEqual(ComparableIndex<T> item);
        bool lessThan(ComparableIndex<T> item);
        bool isEqualWith(ComparableIndex<T> item);
        bool greaterThan(ComparableIndex<T> item);
        bool greaterThanOrEqual(ComparableIndex<T> item);
    }
}